<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        p {
            font-size: 30px;
            color: red;
            text-align: center;
            line-height: 50px;
            border: 2px solid purple;
        }

        div {
            background: url("../img.png") no-repeat center ;

            border: 3px solid red;
            width: 300px;
            height: 300px;
        }

    </style>
</head>
<body>
<p>早睡早起身体好，晚睡晚起心情好</p>
<div>我是你的爸爸</div>
</body>
</html>